package com.luotf.ccu.mapper;

import java.util.List;
import java.util.Map;

import com.luotf.ccu.model.Log;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface LogMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Log record);

    int insertSelective(Log record);

    Log selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Log record);

    int updateByPrimaryKey(Log record);

    /**
 	 *  根据日期月份分组查询
 	 * @return
 	 */
 	List<Log> selectLogListByDate(Map<String, Object> map);

 	List<?> selectUserLogByDate(Map<String, Object> map);
}
